package com.cnap.model.schedule.engine;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 副本需要的资源
 *
 * @author xc
 **/
public class AlgReplicaResource {
    // 硬盘,对应微服务占用块存储容量,单位GB
    private Double bs;
    // 内存,对应单个副本消耗内存量,单位MB
    private Double ram;
    // CPU,对应单副本消耗CPU量
    @JsonProperty(value = "vCpu")
    private Double vcpu;

    /**
     * get
     *
     * @return Bs
     */
    public Double getBs() {
        return bs;
    }

    /**
     * set
     *
     * @param bs bs
     */
    public void setBs(Double bs) {
        this.bs = bs;
    }

    /**
     * get
     *
     * @return Ram
     */
    public Double getRam() {
        return ram;
    }

    /**
     * set
     *
     * @param ram ram
     */
    public void setRam(Double ram) {
        this.ram = ram;
    }

    /**
     * get
     *
     * @return Vcpu
     */
    public Double getVcpu() {
        return vcpu;
    }

    /**
     * set
     *
     * @param vcpu vcpu
     */
    public void setVcpu(Double vcpu) {
        this.vcpu = vcpu;
    }
}
